home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _5D35B9DAA7074B7FB67C8DCF15810A8E < prev    next >
Encoding:
Text File  |  2006-08-04  |  4.1 KB  |  122 lines

  1. from PSPApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Clifton Norton',
  6.         'Copyright': 'None',
  7.         'Description': "image looks like it was painted on a carving",
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Do(Environment):
  13.     App.Do( Environment, 'LayerDuplicate', {
  14.             'GeneralSettings': {
  15.                 'ExecutionMode': App.Constants.ExecutionMode.Default
  16.                 }
  17.             })
  18.  
  19.     App.Do( Environment, 'Emboss', {
  20.             'GeneralSettings': {
  21.                 'ExecutionMode': App.Constants.ExecutionMode.Default
  22.                 }
  23.             })
  24.  
  25.     App.Do( Environment, 'Posterize', {
  26.             'Levels': 2, 
  27.             'GeneralSettings': {
  28.                 'ExecutionMode': App.Constants.ExecutionMode.Default, 
  29.                 'PreviewVisible': App.Constants.Boolean.true, 
  30.                 'AutoProof': App.Constants.Boolean.false
  31.                 }
  32.             })
  33.  
  34.     App.Do( Environment, 'Colorize', {
  35.             'Hue': 85, 
  36.             'Saturation': 0, 
  37.             'GeneralSettings': {
  38.                 'ExecutionMode': App.Constants.ExecutionMode.Default, 
  39.                 'PreviewVisible': App.Constants.Boolean.true, 
  40.                 'AutoProof': App.Constants.Boolean.false
  41.                 }
  42.             })
  43.  
  44.     App.Do( Environment, 'LayerProperties', {
  45.             'General': {
  46.                 'Opacity': None, 
  47.                 'Name': None, 
  48.                 'IsVisible': None, 
  49.                 'IsTransparencyLocked': None, 
  50.                 'LinkSet': None, 
  51.                 'UseHighlight': None, 
  52.                 'PaletteHighlightColor': None, 
  53.                 'GroupLink': None, 
  54.                 'BlendMode': App.Constants.BlendMode.Multiply
  55.                 }, 
  56.             'BlendRanges': None, 
  57.             'Path': (0,0,[],App.Constants.Boolean.false), 
  58.             'BrightnessContrast': None, 
  59.             'ChannelMixer': None, 
  60.             'ColorBalance': None, 
  61.             'CurveParams': None, 
  62.             'HSL': None, 
  63.             'Threshold': None, 
  64.             'Levels': None, 
  65.             'Posterize': None, 
  66.             'Mask': None, 
  67.             'GeneralSettings': {
  68.                 'ExecutionMode': App.Constants.ExecutionMode.Silent, 
  69.                 'PreviewVisible': App.Constants.Boolean.true, 
  70.                 'AutoProof': App.Constants.Boolean.false
  71.                 }
  72.             })
  73.  
  74.     App.Do( Environment, 'LayerProperties', {
  75.             'General': {
  76.                 'Opacity': 80, 
  77.                 'Name': None, 
  78.                 'IsVisible': None, 
  79.                 'IsTransparencyLocked': None, 
  80.                 'LinkSet': None, 
  81.                 'UseHighlight': None, 
  82.                 'PaletteHighlightColor': None, 
  83.                 'GroupLink': None, 
  84.                 'BlendMode': None
  85.                 }, 
  86.             'BlendRanges': None, 
  87.             'Path': (0,0,[],App.Constants.Boolean.false), 
  88.             'BrightnessContrast': None, 
  89.             'ChannelMixer': None, 
  90.             'ColorBalance': None, 
  91.             'CurveParams': None, 
  92.             'HSL': None, 
  93.             'Threshold': None, 
  94.             'Levels': None, 
  95.             'Posterize': None, 
  96.             'Mask': None, 
  97.             'GeneralSettings': {
  98.                 'ExecutionMode': App.Constants.ExecutionMode.Default, 
  99.                 'PreviewVisible': App.Constants.Boolean.true, 
  100.                 'AutoProof': App.Constants.Boolean.false
  101.                 }
  102.             })
  103.  
  104.     App.Do( Environment, 'LayerMergeAll', {
  105.             'GeneralSettings': {
  106.                 'ExecutionMode': App.Constants.ExecutionMode.Default
  107.                 }
  108.             })
  109.  
  110.     App.Do( Environment, 'ColorAdjustBrightnessContrast', {
  111.             'BrightnessContrast': {
  112.                 'Brightness': 31, 
  113.                 'Contrast': 25
  114.                 }, 
  115.             'GeneralSettings': {
  116.                 'ExecutionMode': App.Constants.ExecutionMode.Default, 
  117.                 'PreviewVisible': App.Constants.Boolean.true, 
  118.                 'AutoProof': App.Constants.Boolean.false
  119.                 }
  120.             })
  121.  
  122.